package example.globals 
{
	import flash.utils.Dictionary;
	import maskedpixel.ogmo.*;
	import maskedpixel.ogmo.utils.*;
	/**
	 * ...
	 * @author MaskedPixel
	 */
	public class Assets 
	{
		// -- Levels
		[Embed(source = "../../../exampleAssets/exampleLevel.oel", mimeType = "application/octet-stream")] public static const LEVEL1:Class;
		
		// -- Graphics
		// ---- Player
		[Embed(source = "../../../exampleAssets/gfx/ogmo.png")] public static const OGMO_GFX:Class;
		// ---- Entities
		[Embed(source = "../../../exampleAssets/gfx/chest.png")] public static const CHEST_GFX:Class;
		[Embed(source = "../../../exampleAssets/gfx/moving_platform.png")] public static const MOVING_PLATFORM_GFX:Class;
		[Embed(source = "../../../exampleAssets/gfx/spikes_ceiling.png")] public static const SPIKES_CEILING_GFX:Class;
		[Embed(source = "../../../exampleAssets/gfx/spikes_ground.png")] public static const SPIKES_GROUND_GFX:Class;
		[Embed(source = "../../../exampleAssets/gfx/spikes_left.png")] public static const SPIKES_LEFT_GFX:Class;
		[Embed(source = "../../../exampleAssets/gfx/spikes_right.png")] public static const SPIKES_RIGHT_GFX:Class;
		// ---- TileSets
		[Embed(source = "../../../exampleAssets/gfx/tiles_bricks.png")] public static const TILES_BRICKS_GFX:Class;
		[Embed(source = "../../../exampleAssets/gfx/tiles_grass.png")] public static const TILES_GRASS_GFX:Class;
		
		
		/**
		 * Registeres the tilesets for use with Ogmo and so they can be loaded by the level loader.
		 */
		public static function register():void
		{
			OgmoProject.registerTileSet(new OgmoTileSet("bricks", TILES_BRICKS_GFX, "tiles_bricks.png", 16, 16, 3, 3),
										new OgmoTileSet("grass", TILES_GRASS_GFX, "tiles_grass.png", 16, 16, 3, 3));
		}
	}
}